package com.project.springboot.dao;

import org.springframework.stereotype.Repository;

/**
 * Description：Spring Bean demo
 * Created by 朱正磊 on 2019/3/11 0011 上午 10:55
 */
@Repository
public class UserDao {

    public Integer addUser(String username) {
        System.out.println("user dao addUser [username=" + username + "]");
        if (username == null) {
            return 0;
        }
        return 1;
    }

}
